﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sale.Domain
{
    /// <summary>
    /// 客户管理（Client）			
    /// </summary>
    public class ClientModel : BaseEntity
    {
        /// <summary>
        /// 客户Id（主键唯一标识）
        /// </summary>
        [SugarColumn(IsPrimaryKey =true,IsIdentity =true)]
        [Key]
        public int ClientId {  get; set; }
        /// <summary>
        /// 客户编号(自动生产)
        /// </summary>
        public string ClientCode { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string ClientName { get; set; }
        /// <summary>
        /// 客户类型
        /// </summary>
        public int CTypeId { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string ClientContact {  get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool ClientState {  get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string ClientTel {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string ClientRemark {  get; set; }

    }
}
